Release 10.1A: OpenEdge Development:
Messaging and ESB
setMemptr procedure
Sets the specified number of bytes from the
MEMPTRvariable starting atstartIndexin aBytesMessage.Syntax
Applies to
Message objects
Notes
- The first byte is 1.
- The setMemptr procedure implicitly calls the clearBody procedure before setting the data and resets after setting the data. Therefore, it can be used whether the message is in a read-only mode or a write-only mode prior to the call.
- The call makes a copy of the data. Thus, the
memptrVarvariable is not modified by the 4GL-JMS implementation and can be modified by the 4GL application after the call without corrupting the message.See also
createBytesMessage procedure, setMemptr procedure, writeBoolean procedure, writeByte procedure, writeBytesFromRaw procedure, writeChar procedure, writeDate procedure, writeDateTime procedure, writeDateTime-TZ procedure, writeDouble procedure, writeFloat procedure, writeInt procedure, writeLong procedure, writeLongString procedure, writeShort procedure, writeString procedure, getBytesCount function, endOfStream function, moveToNext procedure, readBytesToRaw procedure, readChar function, readDate function, readDateTime function, readDateTime-TZ function, readDecimal function, readInt function, readLogical function, readLongString function, readLongStringCP function, getMEMPTR function
For more information, see the "BytesMessage" section.
For an example, see the "Publishing, subscribing, and receiving an XML document in a BytesMessage" section.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |